<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<style type="text/css">
			div{
				width: 300px;
				height: 300px;
				background: pink;
				/*
				 水平居中
				 * */
				line-height: 200px;
				/*
				 垂直居中
				 * */
				font-size: 50px;
				text-align: center;
				
			}
		</style>
	</head>
	<body>
		<div>
			<p>aaaaaaaaaaaaa</p>
		</div>
	</body>
</html>
